import jsbos from "@/utils/jsbos";

export function getToken() {
  return jsbos.storageGet("token");
}

export function setToken(token) {
  return jsbos.storageSet({ token });
}

export function removeToken() {
  return jsbos.storageRemove("token");
}

export function getLock() {
  return jsbos.storageGet("lock");
}

export function setLock(lock) {
  return jsbos.storageSet({ lock });
}
export function removeLock() {
  return jsbos.storageRemove("lock");
}
